platform :ios, '10.0'
# require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

install! 'cocoapods', deterministic_uuids: false
project 'ChainReactConf.xcodeworkspace'

target 'ChainReactConf' do
  pod 'React', path: '../node_modules/react-native/'
  pod 'React-Core', path: '../node_modules/react-native/React'
  pod 'React-DevSupport', path: '../node_modules/react-native/React'
  pod 'React-fishhook', path: '../node_modules/react-native/Libraries/fishhook'
  pod 'React-RCTActionSheet', path: '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', path: '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', path: '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', path: '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', path: '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', path: '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', path: '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', path: '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', path: '../node_modules/react-native/Libraries/Vibration'
  pod 'React-RCTWebSocket', path: '../node_modules/react-native/Libraries/WebSocket'
  pod 'React-cxxreact', path: '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', path: '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', path: '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', path: '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga'
  pod 'DoubleConversion', podspec: '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', podspec: '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', podspec: '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'appcenter', path: '../node_modules/appcenter/ios'
  pod 'appcenter-analytics', path: '../node_modules/appcenter-analytics/ios'
  pod 'appcenter-crashes', path: '../node_modules/appcenter-crashes/ios'
  pod 'appcenter-push', path: '../node_modules/appcenter-push/ios'
  pod 'react-native-netinfo', path: '../node_modules/@react-native-community/netinfo'
  pod 'RNCAsyncStorage', path: '../node_modules/@react-native-community/async-storage'
  pod 'RNGestureHandler', path: '../node_modules/react-native-gesture-handler'
  pod 'RNScreens', path: '../node_modules/react-native-screens'
  pod 'RNDeviceInfo', path: '../node_modules/react-native-device-info'

  # use_native_modules!

  post_install do |installer|
    installer.pods_project.targets.each do |target|
      if target.name == "React"
        target.remove_from_project
      end
    end
  end
end